/**
 *	smartBI报表展示视图窗口
*/
isc.defineClass("EMESR_SmartBI_Report_View", isc.OBPopup).addProperties({
	width: "80%",
	height: "90%",
	align: "center",
	showMinimizeButton : false,
	showMaximizeButton : false,
	initWidget: function (params) {
		
		var __cc_sys_url = "http://" + window.location.host;
		
		var url = __cc_sys_url + ":28080/spreadsheet/vision/openresource.jsp?" +
					"username=admin&password=manager&resid=" + params.reportId + "&param." + params.idName + "=" + params.dataId;
		
		var height = this.height;
		
		var content = isc.VLayout.create({
			width: "100%",
			height: height,
			align: "center",
			defaultLayoutAlign : "center",
			members: isc.HTMLFlow.create({
				title: params.title,
				autoDraw: false,
				ID: "myPane",
				width: "100%",
				height: "100%",
				showEdges: true,
				contentsURL: url,
				contentsType: "page"
			})
		});
		
		this.items = [content];
		this.Super('initWidget', arguments);
	}
});
